from paddlespeech.cli.asr.infer import ASRExecutor
asr = ASRExecutor()

def wav_2_str(audio_paths):
    result = asr(audio_file=audio_paths, lang="zh")
    return result